package com.jdd.modules.parkcar.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.jdd.common.util.excel.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Description: 储值车信息
 * @Author: jdd
 * @Date: 2021-05-24
 * @Version: V1.0
 */
@Data
@TableName("park_car_stored")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "park_car_stored对象", description = "储值车信息")
public class ParkCarStored {

    /**
     * 主键
     */
    @TableId(type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "主键")
    private String id;
    /**
     * 车牌号
     */
    @Excel(name = "车牌号", width = 15)
    @ApiModelProperty(value = "车牌号")
    private String plateNo;
    /**
     * 停车场编号
     */
    @ApiModelProperty(value = "停车场编号")
    private String parkCode;
    /**
     * 停车场名称
     */
    @Excel(name = "停车场名称", width = 15)
    @ApiModelProperty(value = "停车场名称")
    private String parkName;
    /**
     * 状态(Y:启用,N:冻结)
     */
    @ApiModelProperty(value = "状态(Y:启用,N:冻结)")
    private String status;
    /**
     * 车辆类型配置id
     */
    @ApiModelProperty(value = "车辆类型配置id")
    private String carTypeId;

    /**
     * 支付费用（单位：元）
     */
    @Excel(name = "余额（元）", width = 15)
    @ApiModelProperty(value = "支付费用（单位：元）")
    private Integer payFee;

    /**
     * 客户姓名
     */
    @Excel(name = "客户姓名", width = 15)
    @ApiModelProperty(value = "客户姓名")
    private String userName;
    /**
     * 客户手机号码
     */
    @Excel(name = "客户手机号码", width = 15)
    @ApiModelProperty(value = "客户手机号码")
    private String mobile;

    /**
     * 家庭住址
     */
    @Excel(name = "家庭住址", width = 15)
    @ApiModelProperty(value = "家庭住址")
    private String address;
    /**
     * 创建时间
     */
    @Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    /**
     * 修改时间
     */
    @Excel(name = "修改时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "修改时间")
    private Date updateTime;
    /**
     * 创建人
     */
    @Excel(name = "创建人", width = 15)
    @ApiModelProperty(value = "创建人")
    private String createUser;
    /**
     * 车辆备注
     */
    @Excel(name = "车辆备注", width = 15)
    @ApiModelProperty(value = "车辆备注")
    private String remark;
}
